package com.yao.springcloud;

public class Test {

	public static void main(String[] args) {
		System.out.println(createPhoneNumber(new int[] {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}));
	}

	public static String createPhoneNumber(int[] numbers) {
		// Your code here!
		String phoneNumber = "";

		for (int i = 0; i < numbers.length; i++) {
			if (i < 3) {
				phoneNumber += String.valueOf(numbers[i]);
			}
		}

		return phoneNumber;
	}
}
